package Exception;

public class ThrowDemo {
    public static void main(String[] args) {
        Student zs=new Student();
          try {
              zs.setAge(200);
          }catch (IllegalAgeException e) {
              e.printStackTrace();
          }
        System.out.println("age" + zs.getAge());

    }
}
